#include <string.h>
#include <stdio.h>

/**
 * test string operation
 */
int main()
{

   char *str = "hahaha,hehe";
   char *p = strsep(&str, ",");
   printf("%s\n", p);
}